package org.jeecg.modules.KM.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.KM.VO.DocUserVisitPolicyAddVo;
import org.jeecg.modules.KM.VO.DocUserVisitPolicyEditVo;
import org.jeecg.modules.KM.VO.UserVisitPolicyVo;
import org.jeecg.modules.KM.entity.KmDocVisitPolicy;

public interface IKmDocVisitPolicyService extends IService<KmDocVisitPolicy> {

    Page<UserVisitPolicyVo> queryPageList(Page<UserVisitPolicyVo> page, String docId, String orderBy);

    Result<?> addVisitPolicyDoc(DocUserVisitPolicyAddVo docUserVisitPolicyAddVo);
    Result<?> updateVisitPolicyDoc(DocUserVisitPolicyEditVo docUserVisitPolicyEditVo);

    Result<?> delVisitPolicyDoc(String id);

}
